home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Views / Arrangements / ArrangedPane.cp next >
Text File  |  1997-06-28  |  359b  |  24 lines

  1. // ArrangedPane.cp
  2.  
  3. #ifndef ArrangedPane_h
  4. #include "ArrangedPane.h"
  5. #endif
  6. #ifndef View_h
  7. #include "View.h"
  8. #endif
  9. #ifndef RegionObject_h
  10. #include "RegionObject.h"
  11. #endif
  12.  
  13. ArrangedPane::ArrangedPane()
  14.   : parent( 0 )
  15.   {
  16.   }
  17.  
  18. void ArrangedPane::Clip( RegionObject& region ) const
  19.   {
  20.     Assert( parent != 0 );
  21.     region &= Bounds();
  22.     parent->Clip( region );
  23.   }
  24.